<div class="menuses form">
	<h2><?php  echo __d('menuses','Add Menus');?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php 
			echo $this->Html->link(__d('menuses','Cancel'), array('controller'=>'menuses','action' => 'index'),array('class'=>'action-left'));
			echo $this->Html->link(__d('menuses','Submit'), '#',array('onclick'=>'document.MenusAddForm.submit(); event.returnValue = false; return false;','class'=>'action-right submit')); ?>
	</div>
	<div class="clear"></div>
	
	<?php echo $this->Form->create('Menus',array('name'=>'MenusAddForm','type' => 'file'));?>
	<fieldset>
		<legend> <?php echo __d('menuses','Menu data')?> </legend>
	<?php
		echo $this->Form->hidden('Domain.Domain.0');
		
		echo $this->Form->input('position',array('options'=>$menu_positions));
		echo $this->Form->input('parent_id',array('options'=>$parentMenuses,'empty'=>''));
		echo $this->Form->input('name',array('class'=>'counter','label'=>__d('menuses','Name in menu')));
		echo $this->Form->input('slug',array('label'=>__d('menuses','Custom URL')));		
		echo $this->Form->input('url',array('label'=>__d('menuses','Alternate external URL')));
		echo $this->Form->input('css_class',array('label'=>__d('menuses','Css class value')));
		echo $this->Form->input('template',array('label'=>__d('menuses','Template'),'options'=>Configure::read('Config.templates')));
		echo $this->Form->input('status',array('label'=>__d('menuses',' Menu active if checked')));
	?>
	</fieldset>
	
	<fieldset>
		<legend> <?php echo __d('menuses','SEO info')?> </legend>
	<?php
		echo $this->Form->input('title',array('class'=>'counter'));
		echo $this->Form->input('description',array('class'=>'counter'));
	?>
	</fieldset>	
	
	<fieldset>
		<legend> <?php echo __d('menuses','Icon file')?> </legend>
	<?php
		echo $this->Form->input('Upload.0.file', array('type' => 'file','label'=>__d('menuses','Select new file'),'after'=>__d('menuses','Background image for the category list on the home page')));
		echo $this->Form->input('Upload.description',array('label'=>__d('menuses','File description (html: alt)')));
	?>
	</fieldset>
<?php echo $this->Form->end(__d('menuses','Submit'));?>
</div>
<?php echo $this->element('/menu/left')?>